﻿using System;

namespace OMC.DataManagement
{
    /// <summary>
    /// This Class represents a menu item of Outlook.
    /// </summary>
    public class MenuItem
    {
        /// <summary>
        /// The folder name of the menu item.
        /// </summary>
        public string FolderName { get; set; }

        /// <summary>
        /// The extra info of a folder, like entryID.
        /// </summary>
        public string FolderExtraInfo { get; set; }

        /// <summary>
        /// The probability in percent (%)
        /// </summary>
        public double Probability { get; set; }

        /// <summary>
        /// This constructor creates a menu item.
        /// </summary>
        /// <param name="folderName">the name of the folder</param>
        /// <param name="probability">the probability in percent (%)</param>
        /// <param name="folderExtraInfo">the folder extra info like entryID</param>
        public MenuItem(String folderName, String folderExtraInfo, double probability)
        {
            this.FolderName = folderName;
            this.Probability = probability;
            this.FolderExtraInfo = folderExtraInfo;
        }
    }
}